﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BBCore.Application.ViewModels.Admins
{
    /// <summary>
    /// 用户登录
    /// </summary>
    public class LoginVo
    {
        [Required(ErrorMessage = "用户名不能为空")]
        public string? UserName { get; set; }

        [Required(ErrorMessage = "密码不能为空")]
        public string? Password { get; set; }
        /// <summary>
        /// 记住我
        /// </summary>
        public bool RememberMe { get; set; }
    }
}
